import request from "../../utils/request";

export default {
    // confirm: (data, config) => request.post('/orders/confirm', data, config),
    store: (data, config) => request.post('/orders', data, config),
    // lister: (config) => request.get('/orders', config),

    // cancel: (data, config) => request.put('/orders/' + data.id + '/cancel', data, config),
    // show: (data, config) => request.get('/orders/' + data.id + '/show', data, config),
    lister: (config) => request.get('/goods_assistance_distributors_orders', config),
    refund: (data, config) => request.put('/goods_assistance_distributors_orders/' + data.id + '/refund', config),
}